package ruifeng.zcj.dig.ui.forum.category.bean;

import java.util.ArrayList;
import java.util.List;

import ruifeng.zcj.dig.base.bean.Base;

/**
 * 二级板块
 * Created by Administrator on 2016/10/19 0019.
 */
public class TwoGrade extends Base {
    private String name;
    private String srink;// 缩成

    public String getSrink() {
        return srink;
    }

    public void setSrink(String srink) {
        this.srink = srink;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }




    public static List<TwoGrade> getGrade(int postion){
        ArrayList<TwoGrade> mTwoGrades = new ArrayList<>();
        switch (postion){
            case 0:
                TwoGrade TwoGrade = new TwoGrade();
                TwoGrade.setName("杂谈图库");
                TwoGrade.setSrink("ZTTK");
                mTwoGrades.add(TwoGrade);

                TwoGrade TwoGrade2 = new TwoGrade();
                TwoGrade2.setName("志同道合");
                TwoGrade2.setSrink("ZTDH");
                mTwoGrades.add(TwoGrade2);
                break;
            case 1:
                TwoGrade TwoGrade3 = new TwoGrade();
                TwoGrade3.setName("异动/振动");
                TwoGrade3.setSrink("YDZD");
                mTwoGrades.add(TwoGrade3);

                TwoGrade TwoGrade4 = new TwoGrade();
                TwoGrade4.setName("漏油/漏水");
                TwoGrade4.setSrink("LYLS");
                mTwoGrades.add(TwoGrade4);

                TwoGrade TwoGrade5 = new TwoGrade();
                TwoGrade5.setName("发动机冒烟");
                TwoGrade5.setSrink("FDJMY");
                mTwoGrades.add(TwoGrade5);
                break;
            default:break;
        }
        return mTwoGrades;
    }
}
